import { Category, Sku, Spu } from "@/typings/goods";

export interface GoodsRecord {
	_id: string;
	name: string;
	cover: string | null;
	description: string | null;
	status: number;
	createdTime: string;
	updatedTime: string;
	spu: Spu;
	sku: Sku;
	categories: Category[];
}

export enum GoodsStatus {
	Disabled = 0,
	Enabled = 1,
}
